package com.htfyun.database;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;
import java.util.Date;

/**
 * Created by sst on 2018/1/5.
 */
@Entity(indexes = {
        @Index(value = "date DESC", unique = true)
})
public class PngName {

    @Id
    private Long id;

    @NotNull
    private String uuid;

    @NotNull
    private String otherUuid;

    @NotNull
    private String pngName;
    
    private java.util.Date date;

@Generated(hash = 936834841)
public PngName(Long id, @NotNull String uuid, @NotNull String otherUuid,
        @NotNull String pngName, java.util.Date date) {
    this.id = id;
    this.uuid = uuid;
    this.otherUuid = otherUuid;
    this.pngName = pngName;
    this.date = date;
}

@Generated(hash = 1464881207)
public PngName() {
}

public Long getId() {
    return this.id;
}

public void setId(Long id) {
    this.id = id;
}

public String getUuid() {
    return this.uuid;
}

public void setUuid(String uuid) {
    this.uuid = uuid;
}

public String getOtherUuid() {
    return this.otherUuid;
}

public void setOtherUuid(String otherUuid) {
    this.otherUuid = otherUuid;
}

public String getPngName() {
    return this.pngName;
}

public void setPngName(String pngName) {
    this.pngName = pngName;
}

public java.util.Date getDate() {
    return this.date;
}

public void setDate(java.util.Date date) {
    this.date = date;
}

}
